package com.usefullc.crawler.constants;

/**
 *
 * @author: Sampson
 * @date: 2018-12-19 19:13
 */
public interface CrawlerConstants {


    String TASK_MESSAGE_TYPE_ERROR = "error";

    String ACTIVE_PREV_RESULT = "active_prev_result";  //前一活动解析结果

    String ACTIVE_CURRENT_URL = "active_current_url";  //当前活动的url

    String ACTIVE_TASK_INTERCEPT = "active_task_intercept" ;  //活动暂停

    String WEB_DRIVER_MAX_COUNT = "web_driver_max_count" ;  //webdriver max thread count

    String CRAWL_ENABLE_IMAGE = "crawl_enable_image";
    String CRAWL_ENABLE_JAVASCRIPT = "crawl_enable_javascript";
    String CRAWL_ENABLE_STYLE = "crawl_enable_style";
    String CRAWL_ENABLE_PROXY = "crawl_enable_proxy";
    String CRAWL_RUN_RD_MS = "crawl_time_rd_seconds";

    String PROXY_TIME_OUT_EXPRESS = "proxy_time_out_express";

    String PROXIES_LIST_ABROAD = "proxies_list_abroad";  //批量国外代理
    String PROXIES_URL_ABROAD = "proxies_url_abroad";  //国内代理ip
    String PROXIES_URL_INTERNAL = "proxies_url_internal";  //国内代理ip

    String PROXIES_TUNNEL = "proxies_tunnel";  //隧道ip




}
